
package com.dhcc.bpm.modules.orga.vo;

import com.dhcc.bpm.modules.orga.entity.Orga;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName OrgaVO
 * @Description 机构信息表视图实体类
 * @Author daina
 * @Date 2020/2/24 19:25
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "OrgaVO对象", description = "机构信息表")
public class OrgaVO extends Orga {
	private static final long serialVersionUID = 1L;
	/**
	 * 控制ID
	 */
	@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
	private Long opcControlId;
	/**
	 * 控制范围
	 */
	private String controlScope;
	/**
	 * 应用编码
	 */
	private String apiCode;
	/**
	 * 流程id
	 */
	@ApiModelProperty(value = "流程id")
	@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
	private Long processId;
	/**
	 *  响应次数
	 */
	@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
	private Long num;
	/**
	 *  成功次数
	 */
	@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
	private Long successNum;
	/**
	 *  成功率(返回百分比)
	 */
	private String successRate;
	/**
	 * 平均响应时间
	 */
	@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
	private Double responseTime;


	/**
	 * 开始时间
	 */
	@ApiModelProperty(value = "开始时间")
	private String accessStartDate;

	/**
	 * 结束时间
	 */
	@ApiModelProperty(value = "结束时间")
	private String accessEndDate;


	private String userName;
	private String userType;
	private String mobile;
	private String email;
	private String usernameAddr;

    private Long busLicenceFileId;
	private String busLicenceFileFullPath;
	private Long busLicenceStorageType;
	private String busLicenceFileRealname;

    private Long letterFileId;
	private String letterFileFullPath;
	private Long letterStorageType;
	private String letterFileRealname;

    private Long otherFileId;
    private String otherFileFullPath;
    private Long otherStorageType;
    private String otherFileRealname;
}
